﻿@model KPIS.GERP.Models.FIM.MasBankAccount

@using (Html.BeginForm("Details", "MasBankAccount", FormMethod.Post, new { @class = "form-horizontal" }))
{
    @Html.AntiForgeryToken()

    <div class="block-button-menu-above">
        @Html.ButtonViewAll()
    </div>
    
    @Html.ValidationSummary(true, "", new { @class = "alert alert-error" })
    @Html.Partial("_DetailsForm")
}

@section scripts
{
    <script>
        $("#AccountType").attr("disabled", "disabled");
        $("#BankAccNo").attr("disabled", "disabled");
        $("#BgmSourceId").attr("disabled", "disabled");
        $("#WorkAreaId").attr("disabled", "disabled");
        $("#Name").attr("disabled", "disabled");
        $("#NameEng").attr("disabled", "disabled");
        $("#BranchId").attr("disabled", "disabled");
        $("#Remarks").attr("disabled", "disabled");
    </script>
}